package com.example.itrain.demo.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 备忘录
 * </p>
 *
 * @author rain
 * @since 2024-11-18
 */
@Data
@TableName("memo")
@ApiModel(value = "Memo对象", description = "备忘录")
public class Memo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id",type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty("项目名称")
    @TableField("item_name")
    private String itemName;

    @ApiModelProperty("项目编码")
    @TableField("item_code")
    private String itemCode;

    @ApiModelProperty("账户")
    @TableField("account")
    private String account;

    @ApiModelProperty("密码")
    @TableField("password")
    private String password;

    @ApiModelProperty("备注或者说明")
    @TableField("remark")
    private String remark;

    @ApiModelProperty("添加时间")
    @TableField("add_time")
    private Date addTime;
}
